grammar CompileUnit;
import BaseLexer,BaseGrammar,TypeDeclaration,Function;

//program
//    :
//    compileUnit
//    ;

compileUnit
    :
    importInfo*  compileUnitTypes+
    ;

compileUnitTypes
    :
    typeDeclaration
    | functionDeclaration
    ;

importInfo
    :
    Import OpenBrace SimpleName (Comma SimpleName)* CloseBrace From StringLiteral SemiColon
    ;

